package szk.exam.dao;
/*
 * @Description:
 * @Author: 山志凯
 * @Date: 2021-06-16 08:43
 */

import java.sql.SQLException;
import java.util.List;

public interface DbDao<T> {
    T find(String sql, Object... args) throws SQLException;
    List<T> findAll(String sql, Object... args) throws SQLException;
    int update(String sql,Object ...args) throws SQLException;
}
